<!DOCTYPE html>
<html>
<head>
<title>代码生成信息</title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link href="../vendors/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="../vendors/font-awesome/css/font-awesome.min.css"
	rel="stylesheet">
<link href="../vendors/animate/css/animate.css" rel="stylesheet">
<link href="../vendors/iCheck/custom.css" rel="stylesheet">
<link href="../vendors/datepicker/datepicker3.css" rel="stylesheet">
<!-- jqgrid-->
<link href="../vendors/jqgrid/css/ui.jqgrid-bootstrap.css" rel="stylesheet">
<!-- Sweet Alert -->
<link href="../vendors/sweetalert/sweetalert.css" rel="stylesheet">
<link href="../common/css/style.css" rel="stylesheet">		
<!-- 由于使用了自定义标签，jquery必须在之前 -->
<!-- 全局js -->
<script src="../vendors/jquery/js/jquery.min.js"></script>
<script src="../vendors/bootstrap/js/bootstrap.min.js"></script>
<!-- jqGrid -->
<script src="../vendors/jqgrid/js/i18n/grid.locale-cn.js"></script>
<script src="../vendors/jqgrid/js/jquery.jqGrid.min.js"></script>
<script src="../vendors/jqgrid/plugins/jquery.tablednd.js"></script>
<script src="../vendors/vue/vue.min.js"></script>
<!-- iCheck -->
<script src="../vendors/iCheck/icheck.min.js"></script>
<!-- Sweet alert -->
<script src="../common/js/curdtools_jqgrid.js"></script>
<script src="../vendors/layer/layer.min.js"></script>
<script src="../common/js/common.js"></script>
</head>
<body>
<body class="gray-bg">
  <div id="rrapp" v-cloak>
	<div class="wrapper wrapper-content animated fadeInRight">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-title">
						<h5>{{title}}</h5>
						<div class="ibox-tools">
							<a class="collapse-link"> <i class="fa fa-chevron-up"></i>
							</a> <a class="close-link"> <i class="fa fa-times"></i>
							</a>
						</div>
					</div>
					<div class="ibox-content">
						<div>
							<!-- 查询条件 -->
							<div class="row">
								<div id="codegenGridGridQuery" class="col-sm-12">
									<div class="form-inline">
										<div class="form-group">
											<label class="control-label">表名：</label> <input type="text"
												placeholder="表名" name='tableName' condition='eq'
												class='form-control' />
										</div>
									</div>
									<br />
								</div>
							</div>
							<!-- 工具栏 -->
							<div class="row" v-show="showList">
								<div class="col-sm-12">
									<div class="pull-left">
										<a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
										<a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
									</div>
									<div class="pull-right">
										<button class="btn btn-white btn-sm"
											onclick="search('codegenGridGrid')">
											<i class="fa "></i> 搜索
										</button>
										<button class="btn btn-white btn-sm"
											onclick="reset('codegenGridGrid')">
											<i class="fa "></i> 重置
										</button>
									</div>
								</div>
							</div>
							<div class="jqGrid_wrapper">
								<table id="jqGrid"></table>
								<div id="jqGridPager"></div>
							</div>

						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
		<div id="winContent" style="display:none;margin:0px 0px 0px 0px;width:780px;">
			<div id="codegenGridGridQuery" class="col-sm-12">
				<div class="form-inline">
					<div class="form-group">
						<label class="control-label">表名：</label> <input type="text"
							placeholder="表名" name='searchTableName' condition='eq'
							class='form-control' />
							<a class="btn btn-info" @click="query">查询</a>
					</div>
				</div>
				<br />
			</div>		
			<div class="jqGrid_wrapper">
				<table id="tableJqGrid"></table>
				<div id="tableJqGridPager"></div>
			</div>	
		</div>	
  </div>

<script src="../public/js/generator/codegentable.js"></script>
</body>
</html>